package Action;

import PO.TaskTitleAndConcentPage;
import com.epwk.action.Action;
import com.epwk.driver.SeleniumDriver;
import org.openqa.selenium.By;

/**
 * Created by Administrator on 2016/11/25.
 */
public class TaskTitleAndConcent extends SeleniumDriver {

    public static void titleAndConcent(String title, String concent) {

        Action.sendkeys(TaskTitleAndConcentPage.title, title);
        driver.switchTo().frame("xhe0_iframe");
        Action.sendkeys(TaskTitleAndConcentPage.concent, concent);
        driver.switchTo().defaultContent();

    }

}
